// 枚举  --字符串枚举,数字枚举

enum Week {
    Monday = 1,
    Tuesday,
    Wednesday, 
    Thursday,
    Friday,
    Saturday,
    Sunday
}

enum WeekEnd {
    Monday = "Monday",
    Tuesday= "Tuesday",
    Wednesday= "Wednesday", 
    Thursday= "Thursday",
    Friday= "Friday",
    Saturday= "Saturday",
    Sunday = "Sunday",
}

console.log(WeekEnd.Monday);
console.log(WeekEnd['Tuesday']);

// 枚举的好处  1、有默认值和可以自增值，节省编码时间  2 语义清晰，可读性增强

export {

}
